/**
 * User: alesj
 * Date: 23.1.2006
 * Time: 10:21:12
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.alesj.blueberry.spring.games.impl;

import com.alesj.blueberry.spring.games.Strategy;
import com.alesj.blueberry.spring.validation.ValidationChain;
import com.alesj.blueberry.spring.result.CommiterHolder;
import com.alesj.blueberry.spring.parsing.Parser;

/**
 * @author <a href="mailto:ales.justin@genera-lynx.com">Ales Justin</a>
 */
public abstract class AbstractStrategy implements Strategy {

    private ValidationChain validationChain;
    private Parser parser;
    private CommiterHolder commiterHolder;

    public ValidationChain validators() {
        return validationChain;
    }

    public Parser getParser() {
        return parser;
    }

    public CommiterHolder getCommiters() {
        return commiterHolder;
    }

    public void setValidationChain(ValidationChain validationChain) {
        this.validationChain = validationChain;
    }

    public void setParser(Parser parser) {
        this.parser = parser;
    }

    public void setCommiterHolder(CommiterHolder commiterHolder) {
        this.commiterHolder = commiterHolder;
    }

}
